package com.jkoss.wine.statistics.service.impl;

import com.baomidou.mybatisplus.mapper.SqlHelper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.jkoss.wine.statistics.entity.Member;
import com.jkoss.wine.statistics.mapper.MemberMapper;
import com.jkoss.wine.statistics.service.IMemberService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;


/**
 *  服务实现类
 * 
 * @Author bg2it
 * @Version 1.0, 2019-08-21
 * @See
 * @Since com.jkoss.wine.statistics.service.impl
 * @Description: TODO
 */
@Service
public class MemberServiceImpl extends ServiceImpl<MemberMapper, Member> implements IMemberService {
    @Override
    public Page selectVoByPage(Page page, Wrapper wrapper) {
        SqlHelper.fillWrapper(page, wrapper);
        page.setRecords(baseMapper.selectVoByPage(page,wrapper));
        return page;
    }
}
